session

  • property

{Session | null}

 

If a user is logged in, the session data, including data about the currently logged in user.

bitballs/models/session

A session instance, which includes data about the logged in user like:

 {
    user: {
        email: "tomrobbins@tommyrotten.net",
        id: 4,
        verified: false,
        isAdmin: false
    }
 }

null

If the user is not currently logged in, null.